import sqlCommonColumn from "src/common/sqlCommonColumn";
import { Column, Entity } from "typeorm";


/**
* @author nie
* @description 文章表 
* @email a896211755@gmail.com
*/
@Entity()
export class Information extends sqlCommonColumn{
   @Column()
   user_id :number
   @Column({comment:"文章内容"})
   content :string
   @Column({comment:"文章标题"})
   title :string
   @Column({comment:'文章展示天数'})
   days :number 
   @Column({comment:"文章类别"})
   type_id :number
   @Column({comment:'点赞数',default:0})
   goods :number
}
 